package com.logic.modular.act.battle;

import com.comment.util.message.ResponseResult;
import com.logic.comment.util.RedisUtils;
import com.logic.modular.act.battle.vo.BattleVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.validation.Valid;

@Api(tags = "组队行为")
@Slf4j
@Validated
@RestController
@RequestMapping("/organizeATeamAction")
public class OrganizeATeamAction {
    @Resource
    private RedisUtils redisUtils;

    @ApiOperation("创建队伍")
    @PostMapping("/create")
    public ResponseResult<?> createTeam(
            @RequestHeader String token,
            @Valid @RequestBody BattleVo.TeamVo.CreateTeam param
    ){

        return null;
    }

    @ApiOperation("设置队伍")
    @PostMapping("/setUp")
    public ResponseResult<?> setUp(
            @RequestHeader String token,
            @Valid @RequestBody BattleVo.TeamVo.CreateTeam param
    ){
        return null;
    }
}
